home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000064_icon-group-sender _Tue Mar 5 08:45:59 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 5 Mar 1996 12:30:39 MST
  2. Date: Tue, 5 Mar 1996 08:45:59 -0800
  3. From: kwalker@orville.premenos.com (Ken Walker)
  4. Message-Id: <199603051645.IAA13391@varda.premenos.com>
  5. To: icon-group@cs.arizona.edu
  6. Subject: Re: Production of an operator's left-hand operand
  7. Mime-Version: 1.0
  8. Content-Type: multipart/mixed;boundary=19ee_282f-6c82_497f-5606_700c
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10. Status: O
  11.  
  12.  
  13. --19ee_282f-6c82_497f-5606_700c
  14. Content-Type: text/plain; charset=us-ascii
  15. Content-Transfer-Encoding: 7bit
  16. Content-MD5: B/v5GdmdxStc1YwCt6/5hg==
  17. X-Sun-Data-Type: text
  18.  
  19. > From: "Hamish Lawson" <H.Lawson@tees.ac.uk>
  20. > Date: Mon, 4 Mar 1996 20:58:38 GMT0BST
  21. > if I want to
  22. > do something like printing the value of e1 only if e2 succeeds; that
  23. > is, I cannot necessarily rewrite this as
  24. >    write(e2 & e1)
  25.  
  26. In the particular case of '&', you can replace it with mutual evaluation
  27. and write
  28.  
  29.      write(1(e1, e2))
  30.  
  31. However, there is nothing similar you can do with comparisons.
  32.  
  33. Ken Walker, kwalker@premenos.com
  34. Premenos Coporation, Concord, Ca. 94520
  35. --19ee_282f-6c82_497f-5606_700c--
  36.